home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Dev / Amiga-E / E_v3.2a_extras / PdSrc / threads / thread.doc next >
Text File  |  1995-04-11  |  2KB  |  53 lines

  1. threads
  2.  
  3. NAME
  4.  
  5.   threads.e -- shows threading
  6.  
  7. AUTHOR
  8.  
  9.   Leon Woestenberg of Digital Disturbance (Email: leon@stack.urc.tue.nl)
  10.  
  11. DISTRIBUTABILITY
  12.  
  13.   Freeware. © 1994-1995 by Digital Disturbance. Do not change the contents
  14.   of this archive. Except from that, you may do anything you like with the
  15.   archive and its contents.
  16.  
  17. REQUIREMENTS
  18.  
  19.   Needs geta4.m, which is included along with the source.
  20.  
  21. INTRODUCTION
  22.  
  23.   The Amiga is a multitasking computer, meaning that different tasks run
  24.   at the same time, seen from the user point of view. A process is an
  25.   extension of a task, as it has some DOS properties (standard input,
  26.   current directory, etc.) as well. An Amiga E compiled executable is a
  27.   process. Sometimes, a program may need to do two things at a time, for
  28.   example a texteditor may print a text while the user is editing another
  29.   text. This is where threading comes in.
  30.  
  31. DESCRIPTION
  32.  
  33.   Threading basically means that a program adds a task to the system to
  34.   perform an asynchronous operation, while the program itself can continue
  35.   doing something else. A thread is a task that is related to its main
  36.   task, and often depends upon the main task, as they often share resources
  37.   or data, and communicate with eachother.
  38.  
  39.   These sources show the very basics of adding threading to your E programs.
  40.  
  41. BUGS
  42.  
  43.   Under crisis circumstances, these examples will probably fail.
  44.  
  45. TODO
  46.  
  47.   Improve crisis-situation behaviour. Also write an application class with
  48.   threading features.
  49.  
  50. SEE ALSO
  51.  
  52.   Books about Operating Systems, exec.library/CreateNewProc
  53.